package com.myapp.listener;

import javax.ejb.EJB;
import javax.inject.Named;

import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.ExecutionListener;

import com.myapp.business.EmployeeGetter;
import com.myapp.db.ProcessEngineDataGetter;

@Named
public class EndEventListener implements ExecutionListener {
	@EJB
	private EmployeeGetter employeeGetter;
	
	@EJB
	private ProcessEngineDataGetter processEngineDataGetter;
	
	@Override
	public void notify(DelegateExecution execution) throws Exception {
		System.out.println("EndEventListener");
	}
}
